Skip to content

Sync the client with the latest API documentation - #65

Merged
ShawnCZek merged 1 commit into
masterfrom
2026-07-api-docs-sync
Jul 15, 2026
Merged

Sync the client with the latest API documentation#65
ShawnCZek merged 1 commit into
masterfrom
2026-07-api-docs-sync

Conversation

@ShawnCZek

@ShawnCZek ShawnCZek commented Jul 15, 2026

Copy link
Copy Markdown
Member

This updates the client with all TruckersMP API changes documented since January 2025.

No changes were needed for the company attending events endpoint (TruckersMP/API-Documentation#14, TruckersMP/API-Documentation#19); the existing request already matches the documented response.

All new and changed fields are covered by unit tests with updated fixtures.

@ShawnCZek
ShawnCZek requested a review from bensherred July 15, 2026 08:14
@ShawnCZek ShawnCZek self-assigned this Jul 15, 2026
* Add support for the company partners and event slots endpoints.
* Add the event request assigned to a server.
* Add the required DLCs of a company
* Add the avatar and roles of a company member, and the color of a company role.
* Rename the player's `isUpperStaff` permission to `isManagement` and deprecate the old method.
* Fix the `Dlc` model receiving the ID and name in the swapped order.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ShawnCZek
ShawnCZek force-pushed the 2026-07-api-docs-sync branch from 05de1a3 to f305a6f Compare July 15, 2026 08:18
@ShawnCZek
ShawnCZek merged commit c2ffe66 into master Jul 15, 2026
16 checks passed
@ShawnCZek
ShawnCZek deleted the 2026-07-api-docs-sync branch July 15, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants